package com.esms.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Group entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Group implements java.io.Serializable {

	// Fields

	private Integer groupid;
	private String groupname;
	private String groupinfo;
	private Set persons = new HashSet(0);
	private Set actions = new HashSet(0);

	// Constructors

	/** default constructor */
	public Group() {
	}

	/** full constructor */
	public Group(String groupname, String groupinfo, Set persons, Set actions) {
		this.groupname = groupname;
		this.groupinfo = groupinfo;
		this.persons = persons;
		this.actions = actions;
	}

	// Property accessors

	public Integer getGroupid() {
		return this.groupid;
	}

	public void setGroupid(Integer groupid) {
		this.groupid = groupid;
	}

	public String getGroupname() {
		return this.groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

	public String getGroupinfo() {
		return this.groupinfo;
	}

	public void setGroupinfo(String groupinfo) {
		this.groupinfo = groupinfo;
	}

	public Set getPersons() {
		return this.persons;
	}

	public void setPersons(Set persons) {
		this.persons = persons;
	}

	public Set getActions() {
		return this.actions;
	}

	public void setActions(Set actions) {
		this.actions = actions;
	}

}